//
//  CoachVideo.h
//  CoolTennisBall
//
//  Created by CA on 16/6/17.
//  Copyright © 2016年 CoolLang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <YYKit/YYKit.h>

@interface CoachVideo : NSObject

@property (nonatomic, copy) NSString *videoId;      //视频ID
@property (nonatomic, copy) NSString *name;         //视频名称
@property (nonatomic, copy) NSString *url;          //视频地址
@property (nonatomic, copy) NSString *preview;      //封面
@property (nonatomic, copy) NSString *duration;     //视频时长
@property (nonatomic, copy) NSString *size;         //视频大小 (/1024/1024)
@property (nonatomic, copy) NSString *viewTimes;    //观看次数
@property (nonatomic, copy) NSString *starName;     //明星
@property (nonatomic, copy) NSString *creatTime;    //创建时间
@property (nonatomic, copy) NSString *content;      //视频介绍

@property (nonatomic, assign) NSInteger state;
@property (nonatomic, assign) NSInteger type;    //
@property (nonatomic, assign) NSInteger sortOrder;    //

+ (NSArray <CoachVideo *> *)creatModelArrayWith:(NSArray *)sourceArray;
+ (CoachVideo *)creatModelWith:(NSDictionary *)sourceDic;
// 快速创建测试数据
+ (instancetype)creatTestCoachVideoWithStarName:(NSString *)starName;

@end
